//
//  BKThreeView.m
//  baokaodaxue
//
//  Created by dangyangyang on 15/6/7.
//  Copyright (c) 2015年 宏图教育. All rights reserved.
//

#import "BKThreeView.h"

@implementation BKThreeView

- (void)drawRect:(CGRect)rect{
    
    CGContextRef context = UIGraphicsGetCurrentContext();
    
    CGContextSetLineWidth(context, .5);
    
    CGContextSetRGBStrokeColor(context, .714, .922, .965, 1);

    
    
    CGFloat height = rect.size.height;
    CGFloat width = rect.size.width/3;
    CGContextMoveToPoint(context, width, 0);
    CGContextAddLineToPoint(context,width, height);
    CGContextStrokePath(context);
    
    CGContextMoveToPoint(context, width*2, 0);
    CGContextAddLineToPoint(context,width*2, height);
    CGContextStrokePath(context);
    
    
    
}

@end
